package com.kbt.util.data;

import com.kbt.activity.GoodForPayActivity;
import com.kbt.activity.GoodInfoActivity;
import com.kbt.activity.R;
import com.kbt.activity.StoreActivity;

import java.io.Serializable;

/**
 * 静态类，用于定义常量数据
 * <p>
 * Created by kuajie on 15/7/30.
 */
public class StaticData implements Serializable {
    //关闭欢迎页标识
    public static final int WELCOME_CLOSE_FLAG = 0x00001;
    //图片变换标识
    public static final int TITLE_IMG_CHANGE_FLAG = 0x0002;
    //
    public static final int STOP_AUTO_PLAY_IMG_FLAG = 0x0003;

    public static final int UPDATE_HOME_TITLE_FLAG = 0x0004;
    public static final int UPDATE_CAR_EMPTY_TITLE_FLAG = 0x0005;
    public static final int UPDATE_CAR_COMP_TITLE_FLAG = 0x0006;
    public static final int UPDATE_CAR_EDIT_TITLE_FLAG = 0x0007;
    public static final int UPDATE_MY_INFO_TITLE_FLAG = 0x0008;
    public static final int SHOUYE_VIEWPAGER_FLAG = 0x0009;
    public static final int SHOPCAR_QUAN_FLAG = 0x00010;
    public static final int UPDATE_NEWS_INFO_TITLE_FLAG = 0x0011;




    public static final int INDEX_HOME = R.id.home_radio;
    public static final int INDEX_CAR = R.id.car_radio;
    public static final int INDEX_MY = R.id.my_radio;
    public static final int INDEX_NEWS = R.id.news_radio;

    //页面标题
    public static final String APPLICATION_TITLE = "豆花网";
    public static final String SHOOPING_CAR_TITLE = "购物车";
    public static final String MY_INFO_TITLE = "我的";
    public static final String NEWS_INFO_TITLE = "信息";
    public static final String GOODS_FL_TITLE = "商品分类";
    public static final String GOODS_INFO_TITLE = "商品详情";
    public static final String GOODS_FOR_PAY = "确认订单";

    //商品来源
    public static final String GOODS_FROM_KBT = "*本产品由固本堂提供发货与售后服务";

    //按钮类型
    //增加按钮
    public static final int BUTTON_ADD_BTN = 0;
    //减少按钮
    public static final int BUTTON_SUB_BTN = 1;
    //删除按钮
    public static final int BUTTON_DEL_BTN = 2;
    //仅改变文本框数量
    public static final int CHANG_EDIT_COUNT = 0;
    //改变文本框数量与显示数量
    public static final int CHANG_EDIT_SHOW_COUNT = 1;
    //改变文本框数量与显示数量、计算总费用
    public static final int CHANG_EDIT_SHOW_TOTAL_COUNT = 2;


    //CLASS类
    public static final Class GOOD_SUBMIT_CLASS = StoreActivity.class;
    public static final Class STORE_ACTIVITY_CLASS = StoreActivity.class;
    public static final Class GOOD_INFO_CLASS = GoodInfoActivity.class;
    public static final Class GOOD_FOR_PAY_CLASS = GoodForPayActivity.class;

    //弹出窗口
    public static final int PopWindow_buyNow = 0;
    public static final int PopWindow_addCar = 1;

    //窗口弹出来源
    public static final int PopWindowFromGoodInfo = 0;
    public static final int PopWindowFromGoodFl = 1;


    //购物车为空
    public static final String GOOD_CAR_EMPTY = "EMPTY";
    //购物车结算状态
    public static final String GOOD_CAR_COMPLETE = "COMPLETE";
    //购物车编辑状态
    public static final String GOOD_CAR_EDIT = "EDIT";

    /**
     * 主页面索引标识
     **/
    public static final int HOME_FRAGMENT_INDEX = 0;
    public static final int CAR_FRAGMENT_INDEX = 1;
    public static final int MY_FRAGMENT_INDEX = 2;
    public static final int NEWS_FRAGMENT_INDEX = 3;

    /***
     * Activity返回值
     **/


    //
    public static final String USER_ADD_RESS = "ADDRESS";

    //用于处理调用Activity并接收返回数据的标识
    public static final int GOOD_FOR_PAY_ORDER_ADD = 1;
    public static final int GOOD_FOR_PAY_ORDER_CHOOSE = 2;
    public static final int ADDRESS_FOR_MANGER_ADD = 3;
    public static final int STORE_FOR_SETTING = 4;
    public static final int MY_USER_FOR_LOGIN = 5;
    public static final int LOGIN_FOR_FORGOT_PASS = 6;
    public static final int MY_FOR_VIP = 7;
    public static final int MY_FOR_ADDRESS_MANGER = 8;
    public static final int MY_FOR_JF = 9;
    public static final int MY_FOR_ORDER = 10;
    public static final int MY_FOR_RZ = 11;


    //客服电话

    public static final String KF_CALL_PHONE = "053161306966";


    //订单类型

    public static final String ORDER_TYPE = "ORDER_TYPE";
    //全部订单
    public static final int ALL_ORDER = 0;
    //待付款
    public static final int WAIT_PAY_ORDER = 1;
    //待发货
    public static final int WAIT_SEND_ORDER = 2;
    //待收货
    public static final int WAIT_RECIVE_ORDER = 3;
    //已完成
    public static final int FINISH_ORDER = 4;
    //退款
    public static final int RETURN_ORDER = 5;

    //订单询问框
    public static final int POPWINDOW_CANCEL_ORDER = 0;
    public static final int POPWINDOW_CONFIRM_ORDER = 1;




}
